package com.szrt.oa.role.entity;


import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ROLE_NAME` varchar(255) DEFAULT NULL,
 * @author My
 *
 */
@Scope("prototype")
@Table(name="oa_role_t")
@Component
public class RoleEntity {
	@Id
	private Integer id;
	private String roleName;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	@Override
	public String toString() {
		return "RoleEntity [id=" + id + ", roleName=" + roleName + "]";
	}
	
}
